<!DOCTYPE html>
<html>
<head>
<title>Integral System</title>
<link href="__PUBLIC__/Intesys/AdminX/css/style.css" rel="stylesheet">
<link href="__PUBLIC__/Intesys/AdminX/css/style-responsive.css" rel="stylesheet">
</head>
<body class="login-body">
<style>
	.input-group input{ margin-bottom:0 !important}
	.input-group-addon{ color:#999; min-width:39px;}
	.login-wrap>div,.form-signin-heading .iconImg{ display:none;}
	.module-quick .quick-form,.module-static .static-form,.module-quick .static,.module-static .quick{ display:block;}
	.text-main{ color:#65cea7}
	.iconImg{position: absolute;right: 5px;top: 5px; cursor:pointer;}
</style>
<form action="{:U('Public/forget')}"  method="post"  class="form-signin  module-static">
  <div class="form-signin-heading text-center">
    <h1 class="sign-title">忘记密码</h1>
     <img src="__PUBLIC__/Intesys/AdminX/images/login_logo.png" alt="网站LOGO"/> </div>
  <div class="login-wrap">
  <div class="static-form row">
  <div class="form-group col-xs-12">
    <div class="input-group"> <span class="input-group-addon">输入账号</span>
      <input type="text" id='send_user' class="form-control" placeholder="用户名" name="username">
    </div>
  </div>
  <div class="form-group col-xs-8">
    <div class="input-group"> <span class="input-group-addon"> 验 证 码</span>
      <input type="text"  class="form-control" placeholder="验证码" name="code">
    </div>
    <input type="hidden" id='w' name="w" value="forget">
  </div>
  <div class="form-group col-xs-4">
  		<button id="send_msg" class="btn btn-success btn-block" >发送短信</button>
  </div>
  <div class="registration modal-open"> <a href="javascript:void(0);" class="pull-left"> </a> </div>
	<div class="col-xs-12">
		<button type="submit" id='post_code' class="btn btn-login btn-block">确定</button>
    </div>
</div>
<div class="quick-form text-center">
  <div  class="registration">
    <div>手机扫码 安全登录</div>
    <div>使用<span class="text-main">微信</span>扫描二维码</div>
  </div>
</div>
</div></form>

<!-- End Login Screen --> 
<script src="__PUBLIC__/Intesys/AdminX/js/jquery-1.10.2.min.js"></script> 
<script src="__PUBLIC__/Intesys/AdminX/js/bootstrap.min.js"></script> 
<script src="__PUBLIC__/Intesys/AdminX/js/modernizr.min.js"></script> 
<script>
$(document).ready(function(e) {
		$('#send_msg').click(function(e){
			e.preventDefault();
			$.ajax({
				url:'{:U('lwn_Verify/send')}',
				async:false,
				dataType:"json", 
				type: "POST", 
				data: {username:$('#send_user').val()},
				success: function(msg){
					alert(msg['error']);
				}
			})
			e.stopPropagation();
		})
});
</script>
</body>
</html>